<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>mc_shell</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--shell.c.html#L62'>mc_shell</a>           62 lib/shell.c        mc_shell_t *mc_shell;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L64'>mc_shell</a>           64 lib/shell.c        mc_shell = g_new0 (mc_shell_t, 1);</span>
<span class='curline'><a href='../S/lib--shell.c.html#L68'>mc_shell</a>           68 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/bash");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L70'>mc_shell</a>           70 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/ash");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L72'>mc_shell</a>           72 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/dash");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L74'>mc_shell</a>           74 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/busybox");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L76'>mc_shell</a>           76 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/zsh");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L78'>mc_shell</a>           78 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/tcsh");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L80'>mc_shell</a>           80 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/csh");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L90'>mc_shell</a>           90 lib/shell.c            mc_shell-&gt;path = g_strdup ("/bin/sh");</span>
<span class='curline'><a href='../S/lib--shell.c.html#L92'>mc_shell</a>           92 lib/shell.c        return mc_shell;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L125'>mc_shell</a>          125 lib/shell.c        mc_shell_t *mc_shell = NULL;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L133'>mc_shell</a>          133 lib/shell.c            mc_shell = g_new0 (mc_shell_t, 1);</span>
<span class='curline'><a href='../S/lib--shell.c.html#L134'>mc_shell</a>          134 lib/shell.c            mc_shell-&gt;path = shell_name;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L137'>mc_shell</a>          137 lib/shell.c        return mc_shell;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L143'>mc_shell</a>          143 lib/shell.c    mc_shell_recognize_real_path (mc_shell_t * mc_shell)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L145'>mc_shell</a>          145 lib/shell.c        if (strstr (mc_shell-&gt;path, "/zsh") != NULL || strstr (mc_shell-&gt;real_path, "/zsh") != NULL</span>
<span class='curline'><a href='../S/lib--shell.c.html#L149'>mc_shell</a>          149 lib/shell.c            mc_shell-&gt;type = SHELL_ZSH;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L150'>mc_shell</a>          150 lib/shell.c            mc_shell-&gt;name = "zsh";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L152'>mc_shell</a>          152 lib/shell.c        else if (strstr (mc_shell-&gt;path, "/tcsh") != NULL</span>
<span class='curline'><a href='../S/lib--shell.c.html#L153'>mc_shell</a>          153 lib/shell.c                 || strstr (mc_shell-&gt;real_path, "/tcsh") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L156'>mc_shell</a>          156 lib/shell.c            mc_shell-&gt;type = SHELL_TCSH;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L157'>mc_shell</a>          157 lib/shell.c            mc_shell-&gt;name = "tcsh";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L159'>mc_shell</a>          159 lib/shell.c        else if (strstr (mc_shell-&gt;path, "/csh") != NULL</span>
<span class='curline'><a href='../S/lib--shell.c.html#L160'>mc_shell</a>          160 lib/shell.c                 || strstr (mc_shell-&gt;real_path, "/csh") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L162'>mc_shell</a>          162 lib/shell.c            mc_shell-&gt;type = SHELL_TCSH;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L163'>mc_shell</a>          163 lib/shell.c            mc_shell-&gt;name = "csh";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L165'>mc_shell</a>          165 lib/shell.c        else if (strstr (mc_shell-&gt;path, "/fish") != NULL</span>
<span class='curline'><a href='../S/lib--shell.c.html#L166'>mc_shell</a>          166 lib/shell.c                 || strstr (mc_shell-&gt;real_path, "/fish") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L168'>mc_shell</a>          168 lib/shell.c            mc_shell-&gt;type = SHELL_FISH;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L169'>mc_shell</a>          169 lib/shell.c            mc_shell-&gt;name = "fish";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L171'>mc_shell</a>          171 lib/shell.c        else if (strstr (mc_shell-&gt;path, "/dash") != NULL</span>
<span class='curline'><a href='../S/lib--shell.c.html#L172'>mc_shell</a>          172 lib/shell.c                 || strstr (mc_shell-&gt;real_path, "/dash") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L175'>mc_shell</a>          175 lib/shell.c            mc_shell-&gt;type = SHELL_DASH;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L176'>mc_shell</a>          176 lib/shell.c            mc_shell-&gt;name = "dash";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L178'>mc_shell</a>          178 lib/shell.c        else if (strstr (mc_shell-&gt;real_path, "/busybox") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L187'>mc_shell</a>          187 lib/shell.c            mc_shell-&gt;type = SHELL_ASH_BUSYBOX;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L188'>mc_shell</a>          188 lib/shell.c            mc_shell-&gt;name = mc_shell-&gt;path;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L191'>mc_shell</a>          191 lib/shell.c            mc_shell-&gt;type = SHELL_NONE;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L197'>mc_shell</a>          197 lib/shell.c    mc_shell_recognize_path (mc_shell_t * mc_shell)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L200'>mc_shell</a>          200 lib/shell.c        if (strstr (mc_shell-&gt;path, "/bash") != NULL || getenv ("BASH") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L202'>mc_shell</a>          202 lib/shell.c            mc_shell-&gt;type = SHELL_BASH;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L203'>mc_shell</a>          203 lib/shell.c            mc_shell-&gt;name = "bash";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L205'>mc_shell</a>          205 lib/shell.c        else if (strstr (mc_shell-&gt;path, "/sh") != NULL || getenv ("SH") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L207'>mc_shell</a>          207 lib/shell.c            mc_shell-&gt;type = SHELL_SH;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L208'>mc_shell</a>          208 lib/shell.c            mc_shell-&gt;name = "sh";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L210'>mc_shell</a>          210 lib/shell.c        else if (strstr (mc_shell-&gt;path, "/ash") != NULL || getenv ("ASH") != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L212'>mc_shell</a>          212 lib/shell.c            mc_shell-&gt;type = SHELL_ASH_BUSYBOX;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L213'>mc_shell</a>          213 lib/shell.c            mc_shell-&gt;name = "ash";</span>
<span class='curline'><a href='../S/lib--shell.c.html#L216'>mc_shell</a>          216 lib/shell.c            mc_shell-&gt;type = SHELL_NONE;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L226'>mc_shell</a>          226 lib/shell.c        mc_shell_t *mc_shell;</span>
<span class='curline'><a href='../S/lib--shell.c.html#L228'>mc_shell</a>          228 lib/shell.c        mc_shell = mc_shell_get_from_env ();</span>
<span class='curline'><a href='../S/lib--shell.c.html#L230'>mc_shell</a>          230 lib/shell.c        if (mc_shell == NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L231'>mc_shell</a>          231 lib/shell.c            mc_shell = mc_shell_get_installed_in_system ();</span>
<span class='curline'><a href='../S/lib--shell.c.html#L233'>mc_shell</a>          233 lib/shell.c        mc_shell-&gt;real_path = mc_realpath (mc_shell-&gt;path, rp_shell);</span>
<span class='curline'><a href='../S/lib--shell.c.html#L238'>mc_shell</a>          238 lib/shell.c        if (mc_shell-&gt;real_path != NULL)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L239'>mc_shell</a>          239 lib/shell.c            mc_shell_recognize_real_path (mc_shell);</span>
<span class='curline'><a href='../S/lib--shell.c.html#L241'>mc_shell</a>          241 lib/shell.c        if (mc_shell-&gt;type == SHELL_NONE)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L242'>mc_shell</a>          242 lib/shell.c            mc_shell_recognize_path (mc_shell);</span>
<span class='curline'><a href='../S/lib--shell.c.html#L244'>mc_shell</a>          244 lib/shell.c        if (mc_shell-&gt;type == SHELL_NONE)</span>
<span class='curline'><a href='../S/lib--shell.c.html#L247'>mc_shell</a>          247 lib/shell.c        mc_global.shell = mc_shell;</span>
</pre>
</body>
</html>
